home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 26 (Anniversary Edition)
/
Volume 26 [Anniversary Edition] - JOGO DISK .iso
/
DEPOSITO
/
REmovido
/
Nave
/
MetaPloy.swf
/
scripts
/
frame_7
/
DoAction.as
Wrap
Text File
|
2006-06-13
|
15KB
|
522 lines
pi = "0";
bonus = "50000";
multi = "1";
visnum = random("4") + "2";
tellTarget("/add")
{
gotoAndStop(eval("/:visnum"));
}
viswr11 = "2";
visnum = "1";
ranadd = "2";
ufoy = "0";
ufox = "25";
setProperty("/ufo", _X, ufox);
setProperty("/ufo", _Y, ufoy);
ranadd = "2";
ufohit = "0";
if(level == "1")
{
rankanx1 = random("64");
rankanx1 = rankanx1 * "5" + "25";
rankanx3 = random("64");
rankanx3 = rankanx3 * "5" + "25";
rankanx4 = random("64");
rankanx4 = rankanx4 * "5" + "25";
rankany1 = random("10");
rankany1 = rankany1 * "20" + "20";
rankany3 = random("10");
rankany3 = rankany3 * "20" + "20";
rankany4 = random("10");
rankany4 = rankany4 * "20" + "20";
setProperty("/kan1", _Y, rankany1);
setProperty("/kan1", _X, rankanx1);
setProperty("/kan3", _Y, rankany3);
setProperty("/kan3", _X, rankanx3);
setProperty("/kan4", _Y, rankany4);
setProperty("/kan4", _X, rankanx4);
}
if(level == "2")
{
rankanx1 = random("64");
rankanx1 = rankanx1 * "5" + "25";
rankanx2 = random("64");
rankanx2 = rankanx2 * "5" + "25";
rankanx3 = random("64");
rankanx3 = rankanx3 * "5" + "25";
rankanx4 = random("64");
rankanx4 = rankanx4 * "5" + "25";
rankany1 = random("10");
rankany1 = rankany1 * "20" + "20";
rankany2 = random("10");
rankany2 = rankany2 * "20" + "20";
rankany3 = random("10");
rankany3 = rankany3 * "20" + "20";
rankany4 = random("10");
rankany4 = rankany4 * "20" + "20";
setProperty("/kan1", _Y, rankany1);
setProperty("/kan1", _X, rankanx1);
setProperty("/kan2", _Y, rankany2);
setProperty("/kan2", _X, rankanx2);
setProperty("/kan3", _Y, rankany3);
setProperty("/kan3", _X, rankanx3);
setProperty("/kan4", _Y, rankany4);
setProperty("/kan4", _X, rankanx4);
}
if(level == "3")
{
rankanx1 = random("64");
rankanx1 = rankanx1 * "5" + "25";
rankanx2 = random("64");
rankanx2 = rankanx2 * "5" + "25";
rankanx3 = random("64");
rankanx3 = rankanx3 * "5" + "25";
rankanx4 = random("64");
rankanx4 = rankanx4 * "5" + "25";
rankanx5 = random("64");
rankanx5 = rankanx5 * "5" + "25";
rankany1 = random("10");
rankany1 = rankany1 * "20" + "20";
rankany2 = random("10");
rankany2 = rankany2 * "20" + "20";
rankany3 = random("10");
rankany3 = rankany3 * "20" + "20";
rankany4 = random("10");
rankany4 = rankany4 * "20" + "20";
rankany5 = random("10");
rankany5 = rankany5 * "20" + "20";
setProperty("/kan1", _Y, rankany1);
setProperty("/kan1", _X, rankanx1);
setProperty("/kan2", _Y, rankany2);
setProperty("/kan2", _X, rankanx2);
setProperty("/kan3", _Y, rankany3);
setProperty("/kan3", _X, rankanx3);
setProperty("/kan4", _Y, rankany4);
setProperty("/kan4", _X, rankanx4);
setProperty("/kan5", _Y, rankany5);
setProperty("/kan5", _X, rankanx5);
}
if(level == "4")
{
rankanx1 = random("64");
rankanx1 = rankanx1 * "5" + "25";
rankanx2 = random("64");
rankanx2 = rankanx2 * "5" + "25";
rankanx3 = random("64");
rankanx3 = rankanx3 * "5" + "25";
rankanx4 = random("64");
rankanx4 = rankanx4 * "5" + "25";
rankanx5 = random("64");
rankanx5 = rankanx5 * "5" + "25";
rankanx6 = random("64");
rankanx6 = rankanx6 * "5" + "25";
rankany1 = random("10");
rankany1 = rankany1 * "20" + "20";
rankany2 = random("10");
rankany2 = rankany2 * "20" + "20";
rankany3 = random("10");
rankany3 = rankany3 * "20" + "20";
rankany4 = random("10");
rankany4 = rankany4 * "20" + "20";
rankany5 = random("10");
rankany5 = rankany5 * "20" + "20";
rankany6 = random("10");
rankany6 = rankany6 * "20" + "20";
setProperty("/kan1", _Y, rankany1);
setProperty("/kan1", _X, rankanx1);
setProperty("/kan2", _Y, rankany2);
setProperty("/kan2", _X, rankanx2);
setProperty("/kan3", _Y, rankany3);
setProperty("/kan3", _X, rankanx3);
setProperty("/kan4", _Y, rankany4);
setProperty("/kan4", _X, rankanx4);
setProperty("/kan5", _Y, rankany5);
setProperty("/kan5", _X, rankanx5);
setProperty("/kan6", _Y, rankany6);
setProperty("/kan6", _X, rankanx6);
}
if(level == "5")
{
rankanx1 = random("64");
rankanx1 = rankanx1 * "5" + "25";
rankanx2 = random("64");
rankanx2 = rankanx2 * "5" + "25";
rankanx3 = random("64");
rankanx3 = rankanx3 * "5" + "25";
rankanx4 = random("64");
rankanx4 = rankanx4 * "5" + "25";
rankanx5 = random("64");
rankanx5 = rankanx5 * "5" + "25";
rankanx6 = random("64");
rankanx6 = rankanx6 * "5" + "25";
rankanx7 = random("64");
rankanx7 = rankanx7 * "5" + "25";
rankany1 = random("10");
rankany1 = rankany1 * "20" + "20";
rankany2 = random("10");
rankany2 = rankany2 * "20" + "20";
rankany3 = random("10");
rankany3 = rankany3 * "20" + "20";
rankany4 = random("10");
rankany4 = rankany4 * "20" + "20";
rankany5 = random("10");
rankany5 = rankany5 * "20" + "20";
rankany6 = random("10");
rankany6 = rankany6 * "20" + "20";
rankany7 = random("10");
rankany7 = rankany7 * "20" + "20";
setProperty("/kan1", _Y, rankany1);
setProperty("/kan1", _X, rankanx1);
setProperty("/kan2", _Y, rankany2);
setProperty("/kan2", _X, rankanx2);
setProperty("/kan3", _Y, rankany3);
setProperty("/kan3", _X, rankanx3);
setProperty("/kan4", _Y, rankany4);
setProperty("/kan4", _X, rankanx4);
setProperty("/kan5", _Y, rankany5);
setProperty("/kan5", _X, rankanx5);
setProperty("/kan6", _Y, rankany6);
setProperty("/kan6", _X, rankanx6);
setProperty("/kan7", _Y, rankany7);
setProperty("/kan7", _X, rankanx7);
}
if(level == "6")
{
rankanx1 = random("64");
rankanx1 = rankanx1 * "5" + "25";
rankanx2 = random("64");
rankanx2 = rankanx2 * "5" + "25";
rankanx3 = random("64");
rankanx3 = rankanx3 * "5" + "25";
rankanx4 = random("64");
rankanx4 = rankanx4 * "5" + "25";
rankanx5 = random("64");
rankanx5 = rankanx5 * "5" + "25";
rankanx6 = random("64");
rankanx6 = rankanx6 * "5" + "25";
rankanx7 = random("64");
rankanx7 = rankanx7 * "5" + "25";
rankanx8 = random("64");
rankanx8 = rankanx8 * "5" + "25";
rankany1 = random("10");
rankany1 = rankany1 * "20" + "20";
rankany2 = random("10");
rankany2 = rankany2 * "20" + "20";
rankany3 = random("10");
rankany3 = rankany3 * "20" + "20";
rankany4 = random("10");
rankany4 = rankany4 * "20" + "20";
rankany5 = random("10");
rankany5 = rankany5 * "20" + "20";
rankany6 = random("10");
rankany6 = rankany6 * "20" + "20";
rankany7 = random("10");
rankany7 = rankany7 * "20" + "20";
rankany8 = random("10");
rankany8 = rankany8 * "20" + "20";
setProperty("/kan1", _Y, rankany1);
setProperty("/kan1", _X, rankanx1);
setProperty("/kan2", _Y, rankany2);
setProperty("/kan2", _X, rankanx2);
setProperty("/kan3", _Y, rankany3);
setProperty("/kan3", _X, rankanx3);
setProperty("/kan4", _Y, rankany4);
setProperty("/kan4", _X, rankanx4);
setProperty("/kan5", _Y, rankany5);
setProperty("/kan5", _X, rankanx5);
setProperty("/kan6", _Y, rankany6);
setProperty("/kan6", _X, rankanx6);
setProperty("/kan7", _Y, rankany7);
setProperty("/kan7", _X, rankanx7);
setProperty("/kan8", _Y, rankany8);
setProperty("/kan8", _X, rankanx8);
}
if(level == "7")
{
rankanx1 = random("64");
rankanx1 = rankanx1 * "5" + "25";
rankanx2 = random("64");
rankanx2 = rankanx2 * "5" + "25";
rankanx3 = random("64");
rankanx3 = rankanx3 * "5" + "25";
rankanx4 = random("64");
rankanx4 = rankanx4 * "5" + "25";
rankanx5 = random("64");
rankanx5 = rankanx5 * "5" + "25";
rankanx6 = random("64");
rankanx6 = rankanx6 * "5" + "25";
rankanx7 = random("64");
rankanx7 = rankanx7 * "5" + "25";
rankanx8 = random("64");
rankanx8 = rankanx8 * "5" + "25";
rankanx9 = random("64");
rankanx9 = rankanx9 * "5" + "25";
rankany1 = random("10");
rankany1 = rankany1 * "20" + "20";
rankany2 = random("10");
rankany2 = rankany2 * "20" + "20";
rankany3 = random("10");
rankany3 = rankany3 * "20" + "20";
rankany4 = random("10");
rankany4 = rankany4 * "20" + "20";
rankany5 = random("10");
rankany5 = rankany5 * "20" + "20";
rankany6 = random("10");
rankany6 = rankany6 * "20" + "20";
rankany7 = random("10");
rankany7 = rankany7 * "20" + "20";
rankany8 = random("10");
rankany8 = rankany8 * "20" + "20";
rankany9 = random("10");
rankany9 = rankany9 * "20" + "20";
setProperty("/kan1", _Y, rankany1);
setProperty("/kan1", _X, rankanx1);
setProperty("/kan2", _Y, rankany2);
setProperty("/kan2", _X, rankanx2);
setProperty("/kan3", _Y, rankany3);
setProperty("/kan3", _X, rankanx3);
setProperty("/kan4", _Y, rankany4);
setProperty("/kan4", _X, rankanx4);
setProperty("/kan5", _Y, rankany5);
setProperty("/kan5", _X, rankanx5);
setProperty("/kan6", _Y, rankany6);
setProperty("/kan6", _X, rankanx6);
setProperty("/kan7", _Y, rankany7);
setProperty("/kan7", _X, rankanx7);
setProperty("/kan8", _Y, rankany8);
setProperty("/kan8", _X, rankanx8);
setProperty("/kan9", _Y, rankany9);
setProperty("/kan9", _X, rankanx9);
}
if(level >= "8")
{
rankanx1 = random("64");
rankanx1 = rankanx1 * "5" + "25";
rankanx2 = random("64");
rankanx2 = rankanx2 * "5" + "25";
rankanx3 = random("64");
rankanx3 = rankanx3 * "5" + "25";
rankanx4 = random("64");
rankanx4 = rankanx4 * "5" + "25";
rankanx5 = random("64");
rankanx5 = rankanx5 * "5" + "25";
rankanx6 = random("64");
rankanx6 = rankanx6 * "5" + "25";
rankanx7 = random("64");
rankanx7 = rankanx7 * "5" + "25";
rankanx8 = random("64");
rankanx8 = rankanx8 * "5" + "25";
rankanx9 = random("64");
rankanx9 = rankanx9 * "5" + "25";
rankanx10 = random("64");
rankanx10 = rankanx10 * "5" + "25";
rankany1 = random("10");
rankany1 = rankany1 * "20" + "20";
rankany2 = random("10");
rankany2 = rankany2 * "20" + "20";
rankany3 = random("10");
rankany3 = rankany3 * "20" + "20";
rankany4 = random("10");
rankany4 = rankany4 * "20" + "20";
rankany5 = random("10");
rankany5 = rankany5 * "20" + "20";
rankany6 = random("10");
rankany6 = rankany6 * "20" + "20";
rankany7 = random("10");
rankany7 = rankany7 * "20" + "20";
rankany8 = random("10");
rankany8 = rankany8 * "20" + "20";
rankany9 = random("10");
rankany9 = rankany9 * "20" + "20";
rankany10 = random("10");
rankany10 = rankany10 * "20" + "20";
setProperty("/kan1", _Y, rankany1);
setProperty("/kan1", _X, rankanx1);
setProperty("/kan2", _Y, rankany2);
setProperty("/kan2", _X, rankanx2);
setProperty("/kan3", _Y, rankany3);
setProperty("/kan3", _X, rankanx3);
setProperty("/kan4", _Y, rankany4);
setProperty("/kan4", _X, rankanx4);
setProperty("/kan5", _Y, rankany5);
setProperty("/kan5", _X, rankanx5);
setProperty("/kan6", _Y, rankany6);
setProperty("/kan6", _X, rankanx6);
setProperty("/kan7", _Y, rankany7);
setProperty("/kan7", _X, rankanx7);
setProperty("/kan8", _Y, rankany8);
setProperty("/kan8", _X, rankanx8);
setProperty("/kan9", _Y, rankany9);
setProperty("/kan9", _X, rankanx9);
setProperty("/kan10", _Y, rankany10);
setProperty("/kan10", _X, rankanx10);
}
tellTarget("/multi")
{
gotoAndStop(eval("/:multi"));
}
stress = "0";
pilz0 = "0";
pilz1 = "0";
pilz2 = "0";
pilz3 = "0";
pilz4 = "0";
pilz5 = "0";
pilz6 = "0";
pilz7 = "0";
pilz8 = "0";
pilz9 = "0";
pilz10 = "0";
pilz11 = "0";
hit10 = "0";
hit11 = "0";
hit0 = "0";
hit1 = "0";
hit2 = "0";
hit3 = "0";
hit4 = "0";
hit5 = "0";
hit6 = "0";
hit7 = "0";
hit8 = "0";
hit9 = "0";
wrx0 = "10";
wrx1 = "40";
wrx2 = "70";
wrx3 = "100";
wrx4 = "130";
wrx5 = "160";
wrx6 = "190";
wrx7 = "220";
wrx8 = "250";
wrx9 = "280";
wrx10 = "310";
wrx11 = "340";
wry0 = "0";
wry1 = "0";
wry2 = "0";
wry3 = "0";
wry4 = "0";
wry5 = "0";
wry6 = "0";
wry7 = "0";
wry8 = "0";
wry9 = "0";
wry10 = "0";
wry11 = "0";
tellTarget("/wr0")
{
gotoAndStop(1);
}
tellTarget("/wr1")
{
gotoAndStop(1);
}
tellTarget("/wr2")
{
gotoAndStop(1);
}
tellTarget("/wr3")
{
gotoAndStop(1);
}
tellTarget("/wr4")
{
gotoAndStop(1);
}
tellTarget("/wr5")
{
gotoAndStop(1);
}
tellTarget("/wr6")
{
gotoAndStop(1);
}
tellTarget("/wr7")
{
gotoAndStop(1);
}
tellTarget("/wr8")
{
gotoAndStop(1);
}
tellTarget("/wr9")
{
gotoAndStop(1);
}
tellTarget("/wr10")
{
gotoAndStop(1);
}
tellTarget("/wr11")
{
gotoAndStop(2);
}
wrspx0 = "5";
wrspx1 = "5";
wrspx2 = "5";
wrspx3 = "5";
wrspx4 = "5";
wrspx5 = "5";
wrspx6 = "5";
wrspx7 = "5";
wrspx8 = "5";
wrspx9 = "5";
wrspx10 = "5";
wrspx11 = "5";
set("/:wrx0",eval("/:wrx0") + eval("/:wrspx0"));
set("/:wrx1",eval("/:wrx1") + eval("/:wrspx1"));
set("/:wrx2",eval("/:wrx2") + eval("/:wrspx2"));
set("/:wrx3",eval("/:wrx3") + eval("/:wrspx3"));
set("/:wrx4",eval("/:wrx4") + eval("/:wrspx4"));
set("/:wrx5",eval("/:wrx5") + eval("/:wrspx5"));
set("/:wrx6",eval("/:wrx6") + eval("/:wrspx6"));
set("/:wrx7",eval("/:wrx7") + eval("/:wrspx7"));
set("/:wrx8",eval("/:wrx8") + eval("/:wrspx8"));
set("/:wrx9",eval("/:wrx9") + eval("/:wrspx9"));
set("/:wrx10",eval("/:wrx10") + eval("/:wrspx10"));
set("/:wrx11",eval("/:wrx11") + eval("/:wrspx11"));
setProperty("/wr0", _Y, eval("/:wry0"));
setProperty("/wr0", _X, eval("/:wrx0"));
setProperty("/wr1", _X, eval("/:wrx1"));
setProperty("/wr1", _Y, eval("/:wry1"));
setProperty("/wr2", _X, eval("/:wrx2"));
setProperty("/wr2", _Y, eval("/:wry2"));
setProperty("/wr3", _X, eval("/:wrx3"));
setProperty("/wr3", _Y, eval("/:wry3"));
setProperty("/wr4", _X, eval("/:wrx4"));
setProperty("/wr4", _Y, eval("/:wry4"));
setProperty("/wr5", _X, eval("/:wrx5"));
setProperty("/wr5", _Y, eval("/:wry5"));
setProperty("/wr6", _X, eval("/:wrx6"));
setProperty("/wr6", _Y, eval("/:wry6"));
setProperty("/wr7", _X, eval("/:wrx7"));
setProperty("/wr7", _Y, eval("/:wry7"));
setProperty("/wr8", _X, eval("/:wrx8"));
setProperty("/wr8", _Y, eval("/:wry8"));
setProperty("/wr9", _X, eval("/:wrx9"));
setProperty("/wr9", _Y, eval("/:wry9"));
setProperty("/wr10", _X, eval("/:wrx10"));
setProperty("/wr10", _Y, eval("/:wry10"));
setProperty("/wr11", _X, eval("/:wrx11"));
setProperty("/wr11", _Y, eval("/:wry11"));
dy0 = "20";
dy1 = "20";
dy2 = "20";
dy3 = "20";
dy4 = "20";
dy5 = "20";
dy6 = "20";
dy7 = "20";
dy8 = "20";
dy9 = "20";
dy10 = "20";
dy11 = "20";
shot1y = "-999";
shot1x = "-999";
speedy1 = "20";
setProperty("sht1", _X, shot1x);
setProperty("sht1", _Y, shot1y);
setProperty("shot", _X, getProperty("/1", _X));
setProperty("shot", _Y, getProperty("/1", _Y));